﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Wicresoft.UnifyShow.Portal.Models
{
    public class PermissionModel
    {
        public int UserID { get; set; }
        public string LoginID { get; set; }
        public string UserName { get; set; }
        public string UserDepartment { get; set; }
        public string UserJob { get; set; }
        public string UserSite { get; set; }
        public bool Disabled { get; set; }

        public string Mobile { get; set; }
        public string Email { get; set; }

        public bool IsConfigAdmin { get; set; }

        public bool IsLeader { get; set; }

        public bool IsAccessITSM { get; set; }
        public bool IsAccessUS { get; set; }
        public bool IsAccessGJ { get; set; }


        public List<US_SiteAccessModel> US_SiteAccessList { get; set; }


        public List<GJ_SiteAccessModel> GJ_SiteAccessList { get; set; }
    }

    public class US_SiteAccessModel
    {
        public decimal ID { get; set; }
        public string Alias { get; set; }
        public bool IsAccess { get; set; }
    }
    public class GJ_SiteAccessModel
    {
        public decimal ID { get; set; }
        public string Alias { get; set; }
        public bool IsAccess { get; set; }
    }
}